package easybooking.data;

/**
 * Exemplary Interface of a Type.
 *
 * @author Hakan Keles
 *
 */
// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.30BECCA6-D228-F516-9424-B10A104C5474]
// </editor-fold> 
public interface Type extends java.rmi.Remote {

    /**
     * Read-out the ID of the type.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.335B00D6-7F2C-E29E-B30C-DB524B0377BD]
    // </editor-fold> 
    public int getTypeId() throws java.rmi.RemoteException;

    /**
     * Read-out the name of the type.
     * @return name
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.457055DA-579C-800E-9D2A-6E4458472334]
    // </editor-fold> 
    public String getName() throws java.rmi.RemoteException;

    /**
     * Read-out the number of rows of a type.
     * @return number of rows
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.87541C55-948B-954E-8561-6746B524B1EA]
    // </editor-fold> 
    public int getRows() throws java.rmi.RemoteException;

    /**
     * Read-out the status of the type.
     * @return status
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.590F0047-AD9E-EF46-69D7-B7EC68A1D654]
    // </editor-fold> 
    public boolean getIsActive() throws java.rmi.RemoteException;

    /**
     * Set the ID of the type.
     * @param typeId The id of the type.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.7CCD874B-39EB-CE91-4E4C-A13D3DD2E92D]
    // </editor-fold> 
    public void setTypeId(int typeId) throws java.rmi.RemoteException;

    /**
     * Set the number of rows of the type.
     * @param row The number of rows.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.324499CB-14EF-6F16-808B-6FBC622DB341]
    // </editor-fold> 
    public void setRows(int row) throws java.rmi.RemoteException;

    /**
     * Set the status of the type.
     * @param status The status of the type.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.007C5A57-6012-FD9C-311A-375532A45ACC]
    // </editor-fold> 
    public void setIsActive(boolean status) throws java.rmi.RemoteException;

    /**
     * Set the name of the type.
     * @param name The name of the type.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.94F3531F-017E-342B-3F55-28CBE9C172FE]
    // </editor-fold> 
    public void setName(String name) throws java.rmi.RemoteException;

    /**
     * Read-out the columns of a type.
     * @return ID
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.4F07FC52-F1C0-2DEF-77DF-4DDDBC9DFF83]
    // </editor-fold> 
    public int getColumns() throws java.rmi.RemoteException;

    /**
     * Set the number of columns of the type.
     * @param column The number of columns.
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.0E5C6CFF-88BB-1574-D7A3-A6F34273A819]
    // </editor-fold> 
    public void setColumns(int column) throws java.rmi.RemoteException;

    /**
     * Read-out the number of total seats inside a type.
     * @return number of seats total
     * @throws java.rmi.RemoteException
     */
    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.CEA59444-FAA6-95BE-7794-76285C5DE4A8]
    // </editor-fold> 
    public int getSeatsTotal() throws java.rmi.RemoteException;
}

